WebService 更新审批状态

SharePoint WebService 更新审批状态
SharePoint列表使用WebService操作,可以进行增删改查,但是操作开启审批功能列表的时候,会遇到列表项审批的问题,只要进行修改,该项目就会变成待定状态,然后想要修改审批状态,就使用UpdateListItems方法,一直自以为是的以为,修改审批状态,不就是更新么Cmd='Update'不就可以了,事实却不是如此。审批方法名称UpdateListItems(string ListName, XmlNode updates)参数名称ListName 为列表名称,string类型Updates 为XmlNode类型,用于更新<Method ID='1' Cmd='Update'> Cmd参数,Update为更新<Field Name='ID'>1</Field> Name参数,字段名称;Field中的值,ID字段的值_ModerationStatus 为审批状态字段审批状态:0为已批准 1为已拒绝 2为待定 3为草稿
共
270
次浏览